class LeaveModel:
    def __init__(self):
        self.leaves={
            'leave_id':'',
            'leave_type':'',
            'leave_day':'',
            'leave_desc':'',
            'leave_user':'',
            'reviewedBy':'',
            'time':''
        }
    
    def setleave(self,leave_id,leave_type,leave_day,leave_desc,leave_user,reviewedBy,time):
        self.leaves['leave_id']=leave_id
        self.leaves['leave_type']=leave_type
        self.leaves['leave_day']=leave_day
        self.leaves['leave_desc']=leave_desc
        self.leaves['leave_user']=leave_user
        self.leaves['reviewedBy']=reviewedBy
        self.leaves['time']=time
    

    
    def getleave(self):
        return self.leaves